
package cn.edu.scau.cmi.hombio.dao;

import cn.edu.scau.cmi.hombio.domain.TaskType;

import java.util.Set;

import org.skyway.spring.util.dao.JpaDao;

import org.springframework.dao.DataAccessException;

/**
 * DAO to manage TaskType entities.
 * 
 */
public interface TaskTypeDAO extends JpaDao<TaskType> {

	/**
	 * JPQL Query - findTaskTypeByPrimaryKey
	 *
	 */
	public TaskType findTaskTypeByPrimaryKey(Integer id) throws DataAccessException;

	/**
	 * JPQL Query - findTaskTypeByPrimaryKey
	 *
	 */
	public TaskType findTaskTypeByPrimaryKey(Integer id, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findTaskTypeByMemo
	 *
	 */
	public Set<TaskType> findTaskTypeByMemo(String memo) throws DataAccessException;

	/**
	 * JPQL Query - findTaskTypeByMemo
	 *
	 */
	public Set<TaskType> findTaskTypeByMemo(String memo, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findTaskTypeByMemoContaining
	 *
	 */
	public Set<TaskType> findTaskTypeByMemoContaining(String memo_1) throws DataAccessException;

	/**
	 * JPQL Query - findTaskTypeByMemoContaining
	 *
	 */
	public Set<TaskType> findTaskTypeByMemoContaining(String memo_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findTaskTypeById
	 *
	 */
	public TaskType findTaskTypeById(Integer id_1) throws DataAccessException;

	/**
	 * JPQL Query - findTaskTypeById
	 *
	 */
	public TaskType findTaskTypeById(Integer id_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findTaskTypeByNameContaining
	 *
	 */
	public Set<TaskType> findTaskTypeByNameContaining(String name) throws DataAccessException;

	/**
	 * JPQL Query - findTaskTypeByNameContaining
	 *
	 */
	public Set<TaskType> findTaskTypeByNameContaining(String name, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findAllTaskTypes
	 *
	 */
	public Set<TaskType> findAllTaskTypes() throws DataAccessException;

	/**
	 * JPQL Query - findAllTaskTypes
	 *
	 */
	public Set<TaskType> findAllTaskTypes(int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findTaskTypeByName
	 *
	 */
	public Set<TaskType> findTaskTypeByName(String name_1) throws DataAccessException;

	/**
	 * JPQL Query - findTaskTypeByName
	 *
	 */
	public Set<TaskType> findTaskTypeByName(String name_1, int startResult, int maxRows) throws DataAccessException;

}